for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import React from 'react'
import { DataException, EditorException } from '../../src/components/Exceptions.js'
it('run exceptions correctly', () => {
expect(() => {
throw new DataException()
}).toThrow()
throw new EditorException()
})